import request from "@/utils/request";

// 资源列表可根据 带分页
export const searchAdminResourcePage = (data) => {
  // console.log(data);
  return request({
    url: "/admin.schoolAdminPower/searchAdminResourcePage",
    method: "POST",
    data,
  });
};
// 资源列表可根据 不带分页
// http://120.211.58.75:50003/admin.adminPower/searchAdminResource
export const searchAdminResource = (data) => {
  // console.log(data);
  return request({
    url: "/admin.schoolAdminPower/searchAdminResource",
    method: "POST",
    data,
  });
};
// http://120.211.58.75:50003/admin.adminPower/addAdminResource
// 新增资源
